package alex.game.updatable.map
{
	import com.framework.IUpdatable;
	import com.framework.util.Log;
	
	import flash.utils.getDefinitionByName;

	public class MapFactory
	{
		alex.game.updatable.map.MapIslandSea;
		
		public static function create(map_name:String):BasicMap
		{
			Log.debug("MapFactory","Creating map : "+map_name);
			var MapClass:Class = getDefinitionByName(map_name) as Class;
			var map:BasicMap = new MapClass();
			return map;
		}
	}
}